<h1>Вопрос &laquo;{$model->title}&raquo;</h1>

<div class="question-item">
    <div class="quest-symbol">?</div>
    <div class="quest-info">
        <p class="question-title">{CHtml::encode($model->title)}</p>
        <div class="clear-floating"></div>
        <p class="question-text">{CHtml::encode($model->text)}</p>
        <p class="author"><a href="{$controller->getUserPageUrl($model->author_id)}">
            {UserFacade::getFullNameUser($model->author_id)}</a>
        </p>

        <p class="question-controls">
        {if ($isAuthor == true)}
        <a href="/question/delete/{$model->question_id}" class="more">Удалить</a> <a href="/question/update/{$model->question_id}" class="more">Редактировать</a>
        {/if}
        </p>

        <p class="date">{$model->publish_date|date_format:"%e.%m.%Y %H:%M"}</p>
    </div>
    <div class="clear-floating"></div>
</div>

{commentFlowWidget commentFlowId=$model->comment_flow_id count=10 style="quest-answer"}
</div>